////////////////////////////////////////////////////////////////////////////////
// Filename: graphics_model.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _GRAPHICS_OBJECT_H_
#define _GRAPHICS_OBJECT_H_
////////////
//INCLUDES//
////////////
#include <fstream>
#include <d3d11.h>
#include <d3dx10math.h>
/////////
//using//
/////////
using std::fstream;

class GraphicsModel 
{
public:
	struct VertexType
	{
		D3DXVECTOR3 position;
	    D3DXVECTOR4 color;
	};


	GraphicsModel();
	~GraphicsModel();
	bool LoadFromFile(char* filename);
	void Shutdown();
	void Rotate(float degree);

public:
	int vertexCount, indexCount;
	VertexType* Vertices;
	unsigned long* Indices;
};

#endif